<!--{template header}-->

<h3 class="feed_header">
	<a href="space.php?uid=$space[uid]" class="r_option">{lang back_to_homepage}</a>
	{lang personal_info}
</h3>
<br>
<table cellspacing="0" cellpadding="0" class="infotable">

	<tr>
		<th width="120">{lang experience}:</th>
		<td>$space[experience] $space[star]</td>
	</tr>
	<tr>
		<th>{lang user_group_info}:</th>
		<td>{$_SGLOBAL[grouptitle][$space[groupid]][grouptitle]} <!--{eval g_icon($space[groupid]);}--></td>
	</tr>
	<tr>
		<th>{lang credit}:</th>
		<td>$space[credit]</td>
	</tr>
	<tr>
		<th>{lang views_num}:</th>
		<td>$space[viewnum]</td>
	</tr>
	<tr>
		<th>{lang create_date}:</th>
		<td><!--{date('Y-m-d',$space[dateline],1)}--></td>
	</tr>
	<tr>
		<th>{lang last_logged}:</th>
		<td><!--{if $space[lastlogin]}--><!--{date('Y-m-d',$space[lastlogin],1)}--><!--{/if}--></td>
	</tr>
	<!--{if $isonline}-->
	<tr style="color:red;">
		<th>{lang last_active}:</th>
		<td>$isonline ({lang online})</td>
	</tr>
	<!--{/if}-->

<!--{if $space[profile_base]}-->
	<tr>
		<td class="td_title" colspan="2">{lang basic_info}</td>
	</tr>
	<tr>
		<td colspan="2">&nbsp;</td>
	</tr>
<!--{/if}-->
<!--{if $space[sex]}-->
	<tr><th>{lang gender}:</th><td>$space[sex]</td></tr>
<!--{/if}-->
<!--{if $space[birth]}-->
	<tr><th>{lang birthday}:</th><td>$space[birth]</td></tr>
<!--{/if}-->
<!--{if $space[blood]}-->
	<tr><th>{lang blood_type}:</th><td>$space[blood]</td></tr>
<!--{/if}-->
<!--{if $space[marry]}-->
	<tr><th>{lang marriage_status}:</th><td>$space[marry]</td></tr>
<!--{/if}-->
<!--{if $space[residecity]}-->
	<tr><th>{lang location}:</th><td>$space[residecity]</td></tr>
<!--{/if}-->
<!--{if $space[birthcity]}-->
	<tr><th>{lang birthplace}:</th><td>$space[birthcity]</td></tr>
<!--{/if}-->

<!--{loop $fields $fieldid $value}-->
<!--{if $space["field_$fieldid"] && empty($value['invisible'])}-->
<!--{eval $fieldvalue = $space["field_$fieldid"]; $urlvalue = rawurlencode($fieldvalue);}-->
	<tr><th>$value[title]:</th><td><!--{if $value[allowsearch]}-->
	<a href="cp.php?ac=friend&op=search&field_$fieldid=$urlvalue&searchmode=1">$fieldvalue</a>
	<!--{else}-->$fieldvalue<!--{/if}--></td></tr>
<!--{/if}-->
<!--{/loop}-->

<!--{if $space[profile_contact]}-->
	<tr>
		<td class="td_title" colspan="2">{lang contacts}</td>
	</tr>
	<tr>
		<td colspan="2">&nbsp;</td>
	</tr>
<!--{/if}-->
<!--{if $space[mobile]}-->
	<tr><th>{lang mobile_phone}:</th><td>$space[mobile]</td></tr>
<!--{/if}-->
<!--{if $space[qq]}-->
	<tr><th>{lang icq}:</th><td>$space[qq]</td></tr>
<!--{/if}-->
<!--{if $space[msn]}-->
	<tr><th>{lang msn}:</th><td>$space[msn]</td></tr>
<!--{/if}-->

<!--{if $space[edu]}-->
	<tr>
		<td class="td_title" colspan="2">{lang education_status}</td>
	</tr>
	<tr>
		<td colspan="2">&nbsp;</td>
	</tr>

	<tr><th>{lang school}:</th><td>
		<!--{loop $space[edu] $value}-->
		<!--{eval $title_url = urlencode($value[title]);$subtitle_url = urlencode($value[subtitle]);}-->
		<p><a href="space.php?do=mtag&tagname=$title_url">$value[title]</a> <a href="space.php?do=mtag&tagname=$subtitle_url">$value[subtitle]</a> <span class="gray">($value[startyear] {lang year})</span></p>
		<!--{/loop}-->
	</td></tr>
<!--{/if}-->

<!--{if $space[work]}-->
	<tr>
		<td class="td_title" colspan="2">{lang work_place}</td>
	</tr>
	<tr>
		<td colspan="2">&nbsp;</td>
	</tr>

	<tr><th>{lang company}:</th><td>
	<!--{loop $space[work] $value}-->
	<!--{eval $title_url = urlencode($value[title]);$subtitle_url = urlencode($value[subtitle]);}-->
		<p><a href="space.php?do=mtag&tagname=$title_url">$value[title]</a> <a href="space.php?do=mtag&tagname=$subtitle_url">$value[subtitle]</a> <span class="gray">({$value[startyear]} {lang year} {$value[startmonth]} {lang month} ~ 
			<!--{if $value[endyear]}-->{$value[endyear]} {lang year} <!--{/if}-->
			<!--{if $value[endmonth]}-->{$value[endmonth]} {lang month} <!--{/if}-->
			<!--{if !$value[endyear] && !$value[endmonth]}-->{lang now}<!--{/if}-->)</span></p>
	<!--{/loop}-->
			</td></tr>
<!--{/if}-->

<!--{if $space[info]}-->
<!--{eval 
$infoarr = array(
	'trainwith' => lang('fav_train'),
	'interest'  => lang('interests'),
	'book'      => lang('fav_books'),
	'movie'     => lang('fav_movie'),
	'tv'	    => lang('fav_tv'),
	'music'	    => lang('fav_music'),
	'game'	    => lang('fav_games'),
	'sport'	    => lang('fav_sport'),
	'idol'	    => lang('fav_idol'),
	'motto'	    => lang('fav_motto'),
	'wish'	    => lang('fav_wish'),
	'intro'	    => lang('personal_intro')
);
}-->
	<tr>
		<td class="td_title" colspan="2">{lang personal_descr}</td>
	</tr>
	<tr>
		<td colspan="2">&nbsp;</td>
	</tr>
<!--{loop $space[info] $value}-->
<!--{if $value[title]}-->
	<tr><th>{$infoarr[$value[subtype]]}:</th><td>$value[title]
	</td></tr>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->

</table><br>
<!--{template footer}-->